package scjp.preparation.generics;

public class GericBoxTest {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		
		GenericBox<Integer> integerBox1 = new GenericBox<Integer>();
		System.out.println(integerBox1.getClass());
		GenericBox<Integer> integerBox2 = new GenericBox<>();
		
		Pair<String, Integer> p1 = new OrderedPair<String, Integer>("Even", 8);
		Pair<String, String>  p2 = new OrderedPair<String, String>("hello", "world");
		OrderedPair<String, GenericBox<Integer>> p3 = new OrderedPair<>("primes", new GenericBox<Integer>());
		
		GenericBox rawType = new GenericBox();
		rawType.set(8);


	}

}
